package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.MatchType;
import org.hxyjs.page.PageInfo;

public interface MatchTypeService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<MatchType> getAllMatchTypes() throws Exception;
    /**
     *  查询学生带选课
     * @param matno
     * @return
     */

    public DTO<MatchType> deleteMatchTypeByMatno(String matno) throws Exception;
    /**
     *  删除学生
     * @param matchType
     * @return
     */
    public DTO<MatchType> updateMatchTypeByMatno(MatchType matchType)  throws Exception;
    /**
     *  增加学生
     * @param matchType
     * @return
     */
    public DTO<MatchType> addMatchType(MatchType matchType)  throws Exception;

    public DTO<MatchType> getMatchTypeByMatno(String matno)  throws Exception;

    public DTO<MatchType> getMatchTypeByPage(PageInfo pageInfo ,String cacheId) throws Exception;

    public DTO<MatchType> getMatchTypeByPage(PageInfo pageInfo) throws Exception;

//    public DTO<MatchType> selectMatchTypeWithorderAndUser(String matno) throws Exception;


}
